const express=require("express");
var ex=new express();//实例化服务器
ex.get("/",function (request,response) {
    response.send("express:what happend");
});
//


var server =ex.listen(8090,function () {
    var host =server.address().address;
    var port=server.address().port;
    console.log("应用实例,访问地址为http://%s:%s",host,port);
});